﻿using VisualWip.Core;

namespace VisualWip.Util
{
    public class PathSelectorResult
    {
        private readonly bool _isSelectionMade;
        private readonly SettingsPath _settingsPath;

        public PathSelectorResult()
        {
            _isSelectionMade = false;
            _settingsPath = new NoSettingsPath();
        }

        public PathSelectorResult(bool isSelectionMade, SettingsPath settingsPath)
        {
            _isSelectionMade = isSelectionMade;
            _settingsPath = settingsPath;
        }

        public SettingsPath Path
        {
            get { return _settingsPath; }
        }

        public bool IsSelectionMade
        {
            get { return _isSelectionMade; }
        }
    }
}